<style type="text/css">
    .sm-st {
        background:#fff;
        padding:20px;
        -webkit-border-radius:3px;
        -moz-border-radius:3px;
        border-radius:3px;
        margin-bottom:20px;
        -webkit-box-shadow: 0 1px 0px rgba(0,0,0,0.05);
        box-shadow: 0 1px 0px rgba(0,0,0,0.05);
    }
    .sm-st-icon {
        width:60px;
        height:60px;
        display:inline-block;
        line-height:60px;
        text-align:center;
        font-size:30px;
        background:#eee;
        -webkit-border-radius:5px;
        -moz-border-radius:5px;
        border-radius:5px;
        float:left;
        margin-right:10px;
        color:#fff;
    }
    .sm-st-info {
        font-size:12px;
        padding-top:2px;
    }
    .sm-st-info span {
        display:block;
        font-size:24px;
        font-weight:600;
    }
    .orange {
        background:#fa8564 !important;
    }
    .tar {
        background:#45cf95 !important;
    }
    .sm-st .green {
        background:#86ba41 !important;
    }
    .pink {
        background:#AC75F0 !important;
    }
    .yellow-b {
        background: #fdd752 !important;
    }
    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color:#fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0,0,0,0.05);
        box-shadow: 0 1px 0px rgba(0,0,0,0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }
    .st-green {
        background-color: #27C24C;
    }
    .st-violet {
        background-color: #7266ba;
    }
    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float:left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
        margin-right: 10px; }
    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500; }
    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis; }
    .stat.lg .value {
        font-size: 26px;
        line-height: 28px; }
    .stat.lg .name {
        font-size: 16px; }
    .stat-col .progress {height:2px;}
    .stat-col .progress-bar {line-height:2px;height:2px;}

    .item {
        padding:30px 0;
    }
</style>

<form class="form-horizontal" method="post" role="form" action="">
    <div class="row">
        <div class="form-group col-xs-12 col-sm-6 col-md-4 col-lg-3">
            <label class="control-label col-xs-4">查询时间</label>
            <div class="col-xs-12 col-sm-6">
                <input id="c-searchtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM" data-use-current="true" name="row[searchtime]" type="text" value="{$searchtime}">
            </div>
            <div class="col-xs-2">
                <button type="submit" class="btn btn-success">搜索</button>
            </div>
        </div>
    </div>
</form>

<div class="row">
    <div class="col-sm-3 col-xs-5">
        <div class="sm-st clearfix">
            <span class="sm-st-icon st-red"><i class="fa fa-clipboard"></i></span>
            <div class="sm-st-info">
                <span>{$num0}</span>
                待處理
            </div>
        </div>
    </div>
    <div class="col-sm-3 col-xs-5">
        <div class="sm-st clearfix">
            <span class="sm-st-icon st-violet"><i class="fa fa-microchip"></i></span>
            <div class="sm-st-info">
                <span>{$num1}</span>
                已結案
            </div>
        </div>
    </div>

</div>

<div class="row">
    <div class="col-lg-8">
        <div id="echart" style="height:450px;width:100%; background-color: #FFFFFF"></div>
    </div>
</div>


<script>
    var Statsdata = {
        list0: {:json_encode($list0)},
        list1: {:json_encode($list1)},
        searchtime: {:json_encode($searchtime)},
        searchyear: {:json_encode($searchyear)}
    };
</script>
